package cn.school.mybatis.Dao;

import java.util.List;
import java.util.Map;

import cn.school.mybatis.join.Grade;

public interface GradeDao {
	// 1:查询全部
	public List<Grade> search();

	// 改
	public int update(Map<String, Object> map);

	// 删
	public int del(long id);

	// 增
	public int add(Map<String, Object> map);

	// 查询单个
	public Grade find(long id);
}
